package com.wits.platform.dao.impl;

import org.springframework.stereotype.Component;

import com.wits.platform.dao.custom.MmrRoleResourceDaoCustom;
import com.wits.platform.entity.MmrRoleResource;
import com.wits.platform.entity.MmrRoleResourcePK;

@Component
public class MmrRoleResourceDaoImpl extends BaseDaoImpl<MmrRoleResource,MmrRoleResourcePK> implements MmrRoleResourceDaoCustom{

	@Override
	public void deleteByRoleId(String roleId) {
		this.executeUpdateByNative("delete from wits_mmr_role_resource where role_id=?",roleId);
	}

}
